package com.ruoyi.cderp.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库调拨单明细对象 tbl_sc_transfer_order_detail
 *
 * @author ruoyi
 * @date 2025-04-01
 */
public class TblScTransferOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 调拨单ID */
    @Excel(name = "调拨单ID")
    private String orderId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String productId;

    // 商品
    private BaseDataProduct baseDataProduct;

    /** 调拨数量 */
    @Excel(name = "调拨数量")
    private Long transferNum;

    /** 成本价 */
    @Excel(name = "成本价")
    private BigDecimal taxPrice;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 排序编号 */
    @Excel(name = "排序编号")
    private Long orderNo;

    /** 已收货数量 */
    @Excel(name = "已收货数量")
    private Long receiveNum;

    public BaseDataProduct getBaseDataProduct() {
        return baseDataProduct;
    }

    public void setBaseDataProduct(BaseDataProduct baseDataProduct) {
        this.baseDataProduct = baseDataProduct;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setTransferNum(Long transferNum)
    {
        this.transferNum = transferNum;
    }

    public Long getTransferNum()
    {
        return transferNum;
    }
    public void setTaxPrice(BigDecimal taxPrice)
    {
        this.taxPrice = taxPrice;
    }

    public BigDecimal getTaxPrice()
    {
        return taxPrice;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setOrderNo(Long orderNo)
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo()
    {
        return orderNo;
    }
    public void setReceiveNum(Long receiveNum)
    {
        this.receiveNum = receiveNum;
    }

    public Long getReceiveNum()
    {
        return receiveNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("productId", getProductId())
            .append("transferNum", getTransferNum())
            .append("taxPrice", getTaxPrice())
            .append("description", getDescription())
            .append("orderNo", getOrderNo())
            .append("receiveNum", getReceiveNum())
            .toString();
    }
}
